# 加载项目目录
import sys 
import os

from sqlalchemy.sql.expression import insert 
sys.path.append(os.path.realpath('')) 

from app.dbhandle import querydb
from app.dbhandle import insertdb

# 获取所有url
def get_blog_url_all():
    return querydb.get_blog_url_all()

# 插入url 
def insert_url_blog_set(name,url):
    insertdb.insert_blog_url(name,url)
    return 0
